package com.java.service;

import com.java.model.hosp.Department;
import com.java.model.vo.DepartmentQueryVo;
import com.java.model.vo.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    void save(Map<String, Object> paramMap);

    Page<Department> findByPage(int pageNum, int pageSize, DepartmentQueryVo departmentQueryVo);

    void removeById(String hoscode, String depcode);

    List<DepartmentVo> findByHoscode(String hoscode);

    String getDepName(String hoscode, String depcode);

    public Department getDepartment(String hoscode, String depcode);
}
